$42 00 00
If DMG is Fire elemental
  DMG = DMG * 2

$42 01 00
If DMG is Thunder elemental
  DMG = DMG * 2

$42 02 00
If DMG is Water elemental
  DMG = DMG * 2

$42 03 00
If DMG is Ice elemental
  DMG = DMG * 2

$42 04 00
If DMG is "Effective against Flying enemies" ONLY:
  DMG = DMG * 2
Elif DMG is Earth elemental ONLY:
  DMG = 0

$42 05 00
If DMG is Light elemental
  DMG = DMG * 2

$42 06 00
If DMG is Fire elemental
  DMG = DMG / 2

$42 07 00
If DMG is Thunder elemental
  DMG = DMG / 2

$42 08 00
If DMG is Water elemental
  DMG = DMG / 2

$42 09 00
If DMG is Ice elemental
  DMG = DMG / 2

$42 0A 00
If DMG is Light elemental
  DMG = DMG / 2

$42 0B 00
If DMG is Neutral ONLY:
  DMG = DMG / 2

$42 0C 00
If DMG is "Effective against Dragons" ONLY:
  DMG = DMG * 2

$42 0D 00
If DMG is Shadow elemental
  DMG = DMG * 2

$42 0E 00
If DMG is Shadow elemental
  DMG = DMG / 2

$42 0F 00
If DMG is "Effective against Hard enemies" ONLY:
  DMG = DMG * 2

$42 10 00
If DMG is "Effective against Insects" ONLY:
  DMG = DMG * 2

$42 11 00
Full protection against Poison, Silence, Paralysis, Confusion, Sleep

$42 12 00
If DMG > 0 ("healing DMG):
  DMG = - DMG
Full protection against Instant Death

$42 13 00
...

$42 14 00
If DMG is NOT Neutral elemental
  DMG = DMG / 2

$42 15 00
...

$42 16 00
...

$42 17 00
If DMG is "Effective against Hard enemies" ONLY
  DMG = DMG / 2

...
